<h2><?php echo $model->name;?>的员工月工作评比 </h2>

<div class="actionBar1">
<?php 
	if(isset($_GET['ok'])) {if($_GET['ok']==0) $mess='添加成功！'; else $mess='更新成功！';unset($_GET['ok']);}//判断添加/更新信息
	$act=isset($_GET['ret'])?$_GET['ret']:$ret;//判断show以后返回路径
	unset($_GET['ret']);unset($_GET['id']);
	$url=substr($act,-5)=='.html'?$act:array($act)+$_GET;//返回路径以html结尾,act将普通变量赋值
?>
[<?php echo CHtml::link('返回',$url); ?>]
</div>
<table class="dataGrid" width="80%">
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('examine_date')); ?>
</th>
    <td><?php echo CHtml::encode(substr($model->examine_date,0,7)); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('name')); ?>
</th>
    <td><?php echo CHtml::encode($model->name); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('present_rate')); ?>
</th>
    <td><?php echo CHtml::encode($model->present_rate*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('receipt_rate')); ?>
</th>
    <td><?php echo CHtml::encode($model->receipt_rate*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('profit_rate')); ?>
</th>
    <td><?php echo CHtml::encode($model->profit_rate*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('incentive_amount')); ?>
</th>
    <td><?php echo CHtml::encode($model->incentive_amount); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('aog_rate')); ?>
</th>
    <td><?php echo CHtml::encode($model->aog_rate*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('exception_rate')); ?>
</th>
    <td><?php echo CHtml::encode($model->exception_rate*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('attendance_rate')); ?>
</th>
    <td><?php echo CHtml::encode($model->attendance_rate*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('accident_times')); ?>
</th>
    <td><?php echo CHtml::encode($model->accident_times); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('amerce')); ?>
</th>
    <td><?php echo CHtml::encode($model->amerce); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('sanitation_info')); ?>
</th>
    <td><?php echo CHtml::encode($model->sanitation_info); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('non_uniform_times')); ?>
</th>
    <td><?php echo CHtml::encode($model->non_uniform_times); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('fight_times')); ?>
</th>
    <td><?php echo CHtml::encode($model->fight_times); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('non_obey_times')); ?>
</th>
    <td><?php echo CHtml::encode($model->non_obey_times); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('reject_call_times')); ?>
</th>
    <td><?php echo CHtml::encode($model->reject_call_times); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('dci_times')); ?>
</th>
    <td><?php echo CHtml::encode($model->dci_times); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('clients_complain_times')); ?>
</th>
    <td><?php echo CHtml::encode($model->clients_complain_times); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('create_time')); ?>
</th>
    <td><?php echo CHtml::encode($model->create_time); ?>
</td>
</tr>
</table>
<?php if(isset($mess)) echo "<script>alert('$mess');</script>";?>
<div class="actionBar1">[<?php echo CHtml::link('返回',$url); ?>]
</div>